<?php if (!defined('THINK_PATH')) exit();?><html>
	<head>
		<meta charset="utf-8">
		<style>
			table td{
				border:1px solid red;
				width:170px;
				height:20px;
				font-size:18px;
			}
		</style>
	</head>
	<body>
		<table>
			<?php if(is_array($data)): foreach($data as $key=>$v): ?><tr>
					<td>序号：<?php echo ($v["id"]); ?></td>
					<td>报社名称：<?php echo ($v["name"]); ?></td>
					<td>标题：<?php echo ($v["title"]); ?></td>
					<td>内容：<?php echo (mb_substr($v["information"],0,60)); ?>........</td>
					<td>
						<a href="http://www.hongdong.lc/Index/doDel?id=<?php echo ($v["id"]); ?>">删除</a>
						<a href="index/mod?id=<?php echo ($v["id"]); ?>">修改</a>
						<a href="http://www.hongdong.lc/detail?id=<?php echo ($v["id"]); ?>">查看详情</a>
					</td>
				</tr><?php endforeach; endif; ?>
			<a href="http://www.hongdong.lc/Index/add">增加新闻</a>
		</table>
	</body>
</html>